package com.cavy.platform.server.repository;

import com.cavy.platform.server.domain.Project;

import java.io.File;
import java.util.List;

/**
 * @author 唐旭
 * @Date 2018/7/17
 */
public interface ProjectRepository {
    int countByName(String workspace, String name);

    File getProjectDir(String workspace, String name);

    void create(Project project);

    void delete(Project project);

    List<Project> list(String name, String workSpace);
}
